home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
business
/
aesti967.zip
/
-INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-07-07
|
4KB
|
128 lines
echo off
cls
if (%1)==() goto Help
if exist %1:\nul goto DriveOK
echo.
echo ┌─────────────────────────────────────────────────┐
echo │ Invalid drive name was used │
echo └─────────────────────────────────────────────────┘
echo.
echo Typical useage to install onto hard disk C use ; -INSTALL C
echo.
goto end
:DriveOK
if exist %1:\esti\nul goto AlreadyInstalled
goto InstallNew
:AlreadyInstalled
echo.
echo ┌─────────────────────────────────────────────────┐
echo │ WARNING ! - directory already exists │
echo └─────────────────────────────────────────────────┘
echo.
echo There is already a directory called %1:\ESTI, any existing files in
echo this directory will be overwritten if you continue
echo.
echo To cancel installation keep the CTRL key pressed down and then press
echo C, enter Y when prompted to terminate the batch file
echo.
echo To continue installation press any key
echo.
pause>nul
cls
:InstallNew
mkdir %1:\esti
if exist %1:\esti\nul goto Install
echo.
echo ┌─────────────────────────────────────────────────────┐
echo │ Unknown Error Occurred - Software NOT installed │
echo └─────────────────────────────────────────────────────┘
echo.
echo May be invalid drive name, path or disk media
echo.
echo Please note that this batch file MUST be run from a floppy disk with
echo the software on it, you must change to the floppy drive before using
echo this batch file
echo.
echo.
goto End
:Install
cls
echo.
echo ┌────────────────────────────────────────────────────────┐
echo │ Installing the Software - please wait │
echo └────────────────────────────────────────────────────────┘
copy *.* %1:\esti
%1:
cd \esti
cls
if exist aesti.exe goto InstallOK
echo.
echo ┌────────────────────────────────────────────────────────────────────┐
echo │ Software did NOT install correctly - try a manual installation │
echo └────────────────────────────────────────────────────────────────────┘
goto Manual
:InstallOK
echo.
echo ┌─────────────────────────────────────────────────┐
echo │ Software was successfully installed ! │
echo └─────────────────────────────────────────────────┘
echo.
echo To start the program from the DOS prompt you must first change
echo to %1:\ESTI, type in AESTI and press return
echo.
echo To run the software from within Windows v3.xx - from the DOS
echo prompt type in -WINDOWS and press return, follow the instructions
echo to install the software under Windows.
echo.
echo If you are using a GUI or other shell then the working or default
echo directory must be set to %1:\ESTI or you must change to this
echo directory before starting the software
echo.
echo AEsti will now be started - press CTRL+C if you do NOT want to
echo start AEsti
pause>nul
aesti
goto End
:Help
echo ░░░▄ ░░░░▄ ░░▄ ░░░░░░░░▄ ░░░░░░░░░░▄ ░░░░░░░░▄ ░░▄ ░░▄
echo ▀▀▀ ░░█░░▄ ░░█ ░░█▀▀▀▀▀▀▀ ▀▀▀░░█▀▀▀▀ ░░█▀▀▀▀░░█ ░░█ ░░█
echo ░░░▄ ░░█ ░░▄░░█ ░░░░░░░░░▄ ░░█ ░░░░░░░░░█ ░░█ ░░█
echo ░░░█ ░░█ ░░░░█ ▀▀▀▀▀▀░░█ ░░█ ░░█▀▀▀▀░░█ ░░█ ░░█
echo ░░░█ ░░█ ░░░█ ░░░░░░░░░█ ░░█ ░░█ ░░█ ░░░░░░░░▄ ░░░░░░░░▄
echo ▀▀▀ ▀▀ ▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀ ▀▀ ▀▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀
echo Installs from Floppy to Hard Disk
echo ─────────────────────────────────
echo Use -INSTALL Destination where Destination is the drive name, for example
echo to install to a C drive use -INSTALL C
echo.
echo A directory called \ESTI will be made on this destination drive and all
echo files copied into it. Before running this batch file please change to the
echo directory and drive where it is located.
echo.
echo To upgrade from an old version of the software please use the -EXIST.BAT
echo batch file
:Manual
echo.
echo. Manual Installation
echo ───────────────────
echo Make a directory on the desired destination drive, copy all files from
echo this disk to the new directory. change to this directory and then start
echo the software by typing AESTI and pressing return
echo.
:End